Fixed an issue where not all old ip rules were removed