The mechanism for the dual Racor filters (manifolded with a 3-way ball valve between them) is air-tight. Its operation is simply to direct flow from the incoming fuel line to one or the other filter. If the valve is rotated it simply changes the ports on the valve's mechanism to direct the fuel flow to the other filter. It does this simultaneously with the "in" and "out" ports of the filter assembly by using a common internal shaft. The valve has 4 positions, each 90 degrees apart on the valve rotation. The porting is "All Off" which obviously mechanically isolates the in and out ports at the valve block (no part of the filter assembly is open to either port), then one position for each of the filters, directing flow into and out of one or the other, and the last position is "All On" which opens both filters' "In" and "Out" ports to the fuel in and out, essentially paralleling them.
The Algae-X system is widely regarded as smoke-and-mirrors by many knowledgeable marine diesel professionals. If you take one apart (an Algae-X, not a knowledgeable marine diesel professional) you'll find a magnet. That's it. A circular magnet, around the perimeter of which the fuel passes once. Fuel In, magnet, fuel out. You probably know about as much as the rest of us about magnetized fuel, right?