Fix bug in replay of network snapshots