Fix duplicate numbers in autolathe