Fixed SmartView to encode url_params correctly