Fix an intermittent spec failure.