Fixed issue with iterator referencing dead strings