Fixing bug in filtering.
BugzId: 3195