Make sure `order.item_count` is a number
Drop line_item from order collection if quantity 0