fixing the query for conversations.