Bug fixes. Range for input values.