Bugfix in getting order state in 1.4