(x) [CTL-61] Fix very rare cases of bad inheritance of view models in LogicBase