This is ready to review in the attached branch. Running a new query after the table creation seems to fix the problem, and I can't reproduce the bug anymore.
This is ready to review in the attached branch. Running a new query after the table creation seems to fix the problem, and I can't reproduce the bug anymore.