Get correct end of CCN hits. (Length of the part of the match
corresponding to END was not being taken into account.)