fix bug in reserializing collections on open, need to set the pk before we do the reserialize