Minor update to correct isComplex error