Fixed persist prg pop so that it saves the proper contexts.