Fixed select all bug after performing a search