Fix query (for admin users).