Fixed broken migration for old storage versions.