Implemented query filter when query has a compound word with -