Made 'select all' and 'select none' buttons work with visible filtered checkboxes