Added missing validity checks for several instances of SmartIF<>
I did not include those checks in several previous MR-s. Doing it now ...
GitLab jobs artifacts no longer stored forever as of Monday, November 4th 08:30h. Further information under https://cern.ch/otg0152576
I did not include those checks in several previous MR-s. Doing it now ...