Fix reading empty lists.