Fixed search urlencoding bug