Fixed error when missing heartbeats