Fix heartbeat not incrementing on trivial changes

The exchange heartbeat should increase when not already at max,
and when the previous ping was successful at the heartbeat time.

This corrects a bug that didn't increase the heartbeat when a
trivial change occured on the server (ping result 2) and all the
other conditions were met.

Signed-off-by: Gary D <garyd9@hotmail.com>