I guess that you added this case cause you where getting to the `default` one because you increment `currentVersion` before doing the actual version upgrade.
No need to do this.