Fixed search/cancel clearing error.