added urlencoding for strings in filters