Fix null assignments to lists.