Added secondary level to table cache to avoid re-entrant scripts from getting prior database's cache.