Fixes an issue with the chat room contacts search results. Fixes comments
and warnings.