Bug fix: If we have selected "search only in all elements" for text
widget, behavior is the one expected.