Bugfix with multiple views.