Fixed bug in which not all roles were being added to the index file, specifically affected the default < 7 roles