Fixed bug where spaces in filters returned nothing