Address merge comments

- Fix logging in AISMerge
- Restore AISInvariants check in Sequence
- Expand AISInvariants check
- Use index name from index rather than assumed index name
- correct exception name in test.
Remove dead comment.