Removed redundant code from filter count test