I just recently transcribed a piece for piano in which the last measure before a repeat is tied into the first ending of the repeat and SHOULD be tied into the second ending, but I cannot find a way to make this happen.