Fix version for pre-upgrade operation.