Minor warning fix i getEmptyIndexes