Anti-flooding valves