fix selection detection of colornotes plugin

colornotes still used old code, that woud not correctly detect the selection when the last measure was selected (and rewind(2) would be positioned after the last segment of the score).