Fixed small issue in invites_controller that was breaking heroku