Fixed handling of unsuccessful sonar readings,
0 is probably not possible because of min max constrain inside sonar code