Added checks for the values of the data keys, when checking if a MessageData object represents a heartbeat, a heartbeat broadcast or a query answer