Respond with 422 is user_ids array is empty. Fixes #9