It's a common problem, that seems to be particular with the diesels
A quick tap on the accelerator usually prompts the gearbox to change down and all it then well.
There isn't a great deal you can do about it I'm afraid it's down to the poor software in the autobox ECU
Russ