Fix segmentation fault on chat creation update

Check for null-pointer before passing hash table content to strcmp