Fixed a crash in CBForest, setting a nil replication checkpoint

Fixes #385