Wrong octave playback when switching clefs

You will need to read the ballad of the tenors: