Fix url filter pattern generation