mod/taskchain fix detection of strings to be filtered