Fixed bug where - where - query if given string would throw error because of spacing