Fix quantity widget set value function to allow values of zero.