Do not use seemingly unnecessary tr(1) when checking the filter.