Fixed 500 error when a player couldn't be located.