Handle invalid participant with 404 status

References changes requested in PR #481