Fix a bug where pages that split and had to be restored while a checkpoint is in progress were not written in that checkpoint.