Handle null collection