Fixing another condition for checking order status