Fixed buggy search box behavior when empty