Prevent some "System.ArgumentException: element already exists" throws.