Refix check if apc could be disabled.