Fix the duration of whole notes to always be the length of a measure.