Fix the forced contrib upgrade logic.