Fixed typo in getCandidatesByEvent.