Fix broken query in User admin #46