Bugfix in index view