Added handling for offset-fetch pagination without a sort
Added some tests around errors