Modified to fix crash during PAR in ISE 14.7 in some instances.