Made error message more informative for 'table not found'