Restore ability to claim unlimited items

2963e4a introduced a regression that prevented users from claiming an
item if it has an unlimited quantity. Items with unlimited quantities
need to be handled differently when being claimed.