Minor bugfix on the main view.