filter possible associations on dataset (issue #5273)