Fixed a bug in the status hierarchy checking
Ticket search results now show now many tickets matched the criteria