Dan Perley reported that the code in the master ee2cc2d576d7ffedf9318364efa4a46a16ab3678 fails when AP_ORDER is not present.