Fix reading list with 0 size