Try to fix upgrade path.