Corrected 'factor' parameter checking (fixes 0000012)