Fixed exception stack for inserts.