Fix search when word tree is shown

A bit of a workaround for reuse of the double search input field.