Fix bug related to adding include to index