remove invalid check for limit and returned count of items, this did not take into account any offsets