Fix rtctest test_filter for the case it is not set.

Bug introduced when improving code during code review.