Fix TPR handling for older versions.