handle different voices

If you want to know how to hide rests in additional voices, please read the FAQ.