Fixed bug where read could return an empty list.
Check that lists have been initialised before disposing of them.