fixed bug in BaseExtendedStorage, maxIdSet was not cloned nor persisted