Fix to avoid downgrading plugins from active to enabled.