Core: Fixed bug when dependand extensions didn't turn off when admin turned off main extension.