bug fix: take into account trans required by filter

+ more test cases