Fix incorrect note handling.