Fix bug with non-zero offset  in ResourceLookupSearchCriteria