Fixed typo in candidate model for idvalidator.