Fix bug that prevented auto-id generation index commands from working.