New index paths were not being properly inserted.
Whitespace fixes and additional comments