Fix nullpointer exception in contest DTO validation