Bugfix for exception if no account exists or no entries and analysis tab is selected.