Fix: prevent triggerRebuild() from detecting temp tables
Merge branch 'dev' into test