Add a conditional around removing the parameter value in the event that the query does not contain the exact wording expected