fix index leak whereby the last index entry wasn't getting deleted
fix index leak whereby the last index entry wasn't getting deleted

syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,syndicate-storage/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core,iychoi/syndicate-core