[Users]: Fixed an issue in upgrade