In GrindKey() when comparing maxAllowedVal to zero it right now checks using < but it should be >=. Line 85 in utils.go