Switched the order for the flood segment and flood tunnel tables.
Fixed removal of unneeded tunnels.