[imp][bug] Add the ability to clear the offset from a query. Closes #5014.