Rectified the returning value of order from extrap_gbs_pair()