if you remove the condition from both expressions, do the counts match? also you need to note that the set analysis is not calculated row by row unlike the if condition
A more Ideal condition would be to use with an aggregation CT_Global={'<=$(Max(Material_SLA_Global))'}
if you do not use explicit aggregation it resorts to only() which returns null when there are more than one value