CDB-2891 filters out own tables from shared tables filter