Fix bug: only display 'Nothing to display' message if we haven't displayed anything.