FIX Users removed upon upgrade

FIX the bug that removed the orion user when updating from a previous version.
Well, as I understand it it shouldn't happen as this is not really a script that can be called manually, and it has a definite number of cases, each one assigned to a number. But maybe there is an arcane situation where the syntax error can happen... If you want me to make the modification to make sure, it's fine for me.