Fix creating of cached terms for balanced programme review.