Fixed a bug that caused messages not to he sent to local clients.