Fix for saving edited rank for an unsaved program