2004 clk500 will not downshift from sixth gear to first . on 2004 Mercedes-Benz CLK500

it only happens when driven more then 10-15 miles , and is intermittent. It will revert to normal if engine is turned and restarted. it will also rarely not upshift from wecond or third unless turned off and restarted.