Only add search terms if they were passed