Fixed some errors with two-phase Trho inputs

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>