Fix SF filter count encoding