Fix cache length for offender api call