Add missing space in index view
This refs affinitic #5843
Also code cleanup