Fix order status check