So indeed it's a race condition when the user jump to quickly from upgrading a version number to next version - i.e. the store keep in memory the old version number and try to upgrade again to that version. I'll open an issue.
The issue is still here. e.g. here the UI was not refreshed and given the state upgrade, it failed at upgrading (which is good) but the UI should have detected the version.