Hi,
Thanks for the question. At present, evenly distances don't take into consideration the size of segments in the start/end/marker/corner inputs. This is something we're planning to look into in future, but until then, there is a workaround that involves nesting segments. Here's how I'd adapt your styles.
1 . Add a linear generator and wire the Bottom segment to the L1S' Default Input and the Evenly to the Evenly input. Disconnect them from the A2S array
2. Wire the L1S array to the A2S array's bottom input.
3. Export the L1S array's X Size parameter. wire it to Arithmetic node and change the mode to expression.
4. Open the Expression editor and use the following code.
return Array_2S1.XSectionAdjustedLength;
You may need to change Array_2S1 to the name of your A2S generator if it is different from this.
the XSectionAdjustedLength variable is useful because it returns the current section of spline with the sizes of the start/end/marker/corner segments deducted. In essence we have created a 1D array that perfectly fits that length.
5. Make any adjustments to evenly spacing etc in the L1S array's setting.

I've attached a modified version of your sample file to illustrate how this works. Note that here I used an L1S array, you could equally easily nest an A2S array and use the same technique.
I hope that helps,
Paul