Text filter bugfixes.