Crashes when checking activeOrders positions