Fixes autolathe checking wrong value

Fixes #2415
Merge pull request #2416 from Razharas/AutolatheFix

Fixes autolathe checking wrong value