Fixed chat_info query