Adds a variant-type filter

Also correctly calculates true/false/pos/neg etc for SVs.
Changed + let removed.