Bug fixes in the reindexing code.

Add missing name attribute to issue