Fix clear bug on search bar