Better empty list handling in onAttach()