Fix for spatial search ordering with CKAN2.