Bugfix for: RT58458 Classcast Exception in Autocompleter

Fixed a class cast exception in Autocompleter Index creation
Und das wirft keine NoSuchElementException? (http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html#next())