Added checks to not crash on empty chat messages