Cubase 8.5 always plays first ending in arranger mode

I have first and second endings defined for a score. When I play the piece, it plays through the first ending, then repeats as expected, but at the end of the second time through, it plays both the first and the second ending. Is this a bug, or am I doing something wrong?

FYI, I figured out what was going on… I needed to enter the first and second ending symbols in the Project layer, rather than in the note layer. Not sure what purpose allowing the definition of first and second endings really serves while in the note layer, but at least I figured it out. If there really is no use-case for first and second endings in the note layer, I suggest you consider disabling those symbols when in note layer mode to help avoid the same confusion I had.