xhttp_pi: fix copy/paste error that can lead to a crash when 'order_by_cols' are used