Correctly remove invalid clans.