Fix stupidity in ComplexTask perform.