Fixes bounds update when value is scalar
Merge pull request #37 from blazetopher/fix_bounds_update

Fixes bounds update when value is scalar