Bug fix for antiflooding system