Corrected setting of validateEntities.