Fix error getting top closers by companies and domains

The queries returned an invalid top of closers. Both total count
of closed tickets and their closers were wrong. There was a typo
in the queries that generated the error.