The following can happen on a cargo dock:
- Set filter on dock module to coal
- unpause ship and let it leave
- Change the filter to sulfur
- The ship will eventually return loaded with coal. The sulfur modules will not unload and the coal is stock forever
It looks like setting the filters on cargo dock modules should only be doable while the ship is docked.