On a heartbeat broadcast the sending master server receives its own message as well. These changes will make sure that the broadcasted heartbeat is not handled on this server, where the normal heartbeat is received, and no additional query is sent to the game server. The outgoing messages (heartbeat broadcasts and queries) are cached and multiple ones for the same target are filtered out, before being sent.