If a query event uses an implicit database, the filtering is now correctly done also for those tables.