Tighten "has" filter operator

We now require the field not to be an empty string in order to be
counted.