Stop duplicating query strings