Fix to check types of inner models strictly