Fixing the log replay for the job update history pruner.

Bugs closed: AURORA-912

Reviewed at https://reviews.apache.org/r/27598/