Get correct parent from TR target
Minor clean up