 		}
 
 		// if periodX and periodY IS a valid pair
-		if ( inRange(periodX, periodY) ) {
+		if ( signals[i] == 1 ) {
 			// a job is detected when we get 3 valid signals in a row
 			// begin stopwatch
 			if (checkHistory(signals) == flag.detectedJobStart) {

	// some variables used in this scope
	unsigned long startTime = 0;
	unsigned int periodX, periodY;
	unsigned int i, pulseCount, pollCounter = 0;
	int signals[] = { 0, 0, 0 };

	// Only here temporarily for debugging
	if (debug) {

	unsigned int sum = periodX + periodY;

	if (0 < sum && sum <= maximumValue) {
		return 1;
	}
	else {
		return 0;
	}
}
