Fixed Badges form and search result clear on badge delition