fix check client_ref when browsing orders pages