Fix regression that caused untranslated labels of boolean filters

This slightly changes 47fe4c5 in order to do the same thing, while translating labels properly. I'm not sure if it's the best approach, so reject this pull request if you have something different in mind :wink: