Merge query strings manually, for consistent results