Fix bug where taxonomies with a space in them break search-as-you-type.