Fixed bug in RDD checkpointing.