Search boxes clear when switching tabs