Remove recursion when colorizing Transaction