fix duplicated AttachToAllUniqueIndexesAttribute