Fix bug where empty messages could not be recieved