Fix for table_exists problem.