PLFM-2117: ensure limit, offset have right order