You need to apply the modifier in the comparison as well.