Slightly increase performance of the PGD validator.