Corrects debug logging from seconds to milliseconds.
Bugfix: Now correctly inserting visibility-aware typeId into index tables.
Reverts secondary fetch logic.