Fix for the OGR autostyle unit calculation