Fix query for user list in admin panel