Allow a quantity of zero. fixes #22