Make check_melody conform to pitch-set-is-last-argument as other methods.