Wasn't resetting the octave as expected. Fixed it.