Orders:fix ordertype finding