Remove possibility of repeating pitch classes

Ensure the same pitch class won't be shown twice in a row.