Solo'ed instrument when there is no instrument

I just noticed that if a single instrument is solo’ed, and then the instrument is deleted (all parts and layouts), the Solo is not turned off. So that, all tracks remain muted because of the Solo enabled, and it is not possible to unmute other instruments in their channel strips. Which is remedied by clicking “Deactivate all Solos” at the top of the mixer, but, it seems to me that if an instrument is fully deleted, then the respective solo aspect should also be deactivated automatically. I didn’t check what happens with various other combinations of multiple instruments being also Solo’ed in this case.