Reformulated show/hide closed tickets in index view.
Code grooming.