Fixed logic for order status 'confirmed'