Fix crash for group chats (quick and dirty fix sorry)