fix problem with IE and spaces in search term (closes #133)