Clear the previous search before starting a new one