make sure filtertree stuff translates

The logic types and attribute names were not previously
being translated by the tr(...) function.