Fix another issue when tables do not exist (runonce.php called via install.php).