Fix gravity score in isNodeScoreThreshholdMet