Proper rests handling in compound meter