Fix unit selection in target profile history.