Restrict "Select All" to filtered items.

Used :visible selector to make the "select all" button only select those items that are visible after a filter is performed.