Fix for issue when searching for "?" 


See discussion
http://osgeo-org.1560.x6.nabble.com/GeoNetwork-2-10-Search-for-gives-an-error-td5065957.html