| 
					
				 | 
			
			
				@@ -444,7 +444,7 @@ module.exports = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let idx = 0; idx < rpt_ids.length; idx++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let id = rpt_ids[idx], r_flag = flags[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let f_prj_ids = prj_ids; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (r_flag !== undefined && r_flag !== null && r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 f_prj_ids = compare_ids[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             parallelFunctions.push((function (rpt_id, flag) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -516,7 +516,7 @@ module.exports = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let idx = 0; idx < rpt_ids.length; idx++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let r_id = rpt_ids[idx], r_flag = flags[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let f_prj_ids = prj_ids; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (r_flag !== undefined && r_flag !== null && r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 f_prj_ids = compare_ids[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             parallelFunctions.push((function (rpt_id, flag) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -563,7 +563,7 @@ module.exports = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (let idx = 0; idx < rpt_ids.length; idx++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let r_id = rpt_ids[idx], r_flag = flags[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let f_prj_ids = prj_ids; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (r_flag !== undefined && r_flag !== null && r_flag.auditType === 'audit_compare') { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 f_prj_ids = compare_ids[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             let r_name = rpt_names[idx]; 
			 |