Fix crash on config version update