when updating quantities, remove items where quantity < 1, fixes #116