File:OreProcessingSystem18.png

Summary
Now... do this. Everywhere there's an output, place another pipe above the existing one. And on every pipe that is meant for byproducts (i.e. every pipe connected to a type filter), place a shutter module.