[#1792] Fix bug when filtering fields with ampersands

The issue was that ckan.js didn't escape the data before sending it through
AJAX. It was fixed upstream at
https://github.com/okfn/ckan.js/commit/d0d911692e4517037b9e0d8d71d90751eb58699e