Fixed behavior of Collection.add