Modified macro order and section search for MO linking