Be cleverer in dataConCannotMatch, fixes Trac #5168