fix index out of range in stalestashlist when no staleness interval is given