Catching cases of empty lists.