Added extra check to softenFactor setter.