Improve node filtering for multimaps