Fix some inaccuracy in judge position helper