fix bug causing assert in TrunCastChecker

@ktf @Dr15Jones 
I missed the failure in the build log. Sorry.