Handle case when data has no details key