Remove superfluous patternID