sets offset and limit to zero when modifing the query term