Fixed adding checkpoints on checkpoint races.