fix limit interpretation in order::getstats