Remove uid parameter from query