Fix bug introduced in tdvp_common update.