Fixed minimal permitted value to set from 1 to 0.