Added A=B case to results output in export_to_apf().