filter: Fixes in string comparisons, updated docs