Minor bug fixed in index view.