Fix: prevent triggerRebuild() from detecting temp tables