Just to make sure I understand, this is okay because scope[key0] is a middle segment, so this change doesn't need to be reverted