Fix null reference to array list.