Fixed regression bug related to conditional AMD checks