Check isNaN for variant.inventoryQuantity