[LU-79] Adding check for proguarded constants

Let's use the same formatting inside both `if` blocks. I'd go with the format on L56/57.