Fix up switch logic for deploysEnabled