fix a bug in PresenterCollection::toArray()