adding code to progession template to remove and and with from search terms