Allow filtering on multiple visualizations in the dashboard.

Closes #2255.

The issue reoccurred because a d3 selection did not exist in all cases. The fix here simply deletes that code. It isn't necessary and further complicates that particular function.

Tests still need to get in for this, but there is an open issue #2208.