Fix for reporting joins to non-open tables in a query.