Added filter for prime, double prime and triple prime.