Fixed a conditional statement logic flaw in the 'xform' class.