Fix tpl_log_manager_search_hit_compare
Fix tpl_log_manager_search_hit_compare

and minor restyling of tpl_log_manager_get_chats

freedesktop-unofficial-mirror/telepathy__telepathy-logger,freedesktop-unofficial-mirror/telepathy__telepathy-logger,freedesktop-unofficial-mirror/telepathy__telepathy-logger