Fix currentView, which was broken by the analysis_view cleanups.