Fixed order of pitch-range checking after transposition so rests are
filtered out.