HPCC-12223 fixing bug with upgrade

Signed-off-by: Michael Gardner <Michael.Gardner@lexisnexis.com>