URL-encode filters when compiled

See http://meta.stackexchange.com/q/118739/188148.