Fix bug in url generated by filter selection