Added validation check to locations controller for the participants field to be a positive integer.