Fix initialization when model collection is empty