Make sure that query params do not get duplicated when a site doesn't nice permalinks enabled