Fix doc_factory calculate_order_from_info.