Added functionality to block adding duplicate collections.