Fix bad handling of no data loaded.