Bio-switches: what makes them robust?