removed unnecessary if from comapreGracenodeVersion()