Added condition to displaying the modifier label to check if modifier is null