Thanks for your fast reply Ray. At the end I had a double WHERE in the statement (one from the view and one from the URL-filtering built with your tool) but the extension didn't show up the error while creating the dataset. On the page there were simply no data filtered and no errors shown.