Fixed bug with model/collection sync