Revert "Adding check that was removed earlier.[Finishes #80630282]"