Fixed bug in viewdata when no cluster is selected.