Fix PersistentCollection init state during flush()

Fixes #921