Fixed bug in Traits.CollectionModel when using id 0