fixed collectionView index retrieving when adding a model to the collection. fixes #409 #407
build