Fix bug in Heartbeat synchronization with storage