Improved filter URL creation