Dynamic filtering by clicking checkboxes works