Fix broken user search, if no user is logged in.