Fixed unique collections bug