Fix "Attempt to persist a C function" error - correct persist/unpersist lists.