Adding empty check when displaying resources in the overview page