Fixing bugs that are preventing subregion creation from the imgspect app.