Fix getIndexOf fallback, general assert module cleanup, refs #27