Towncar jerks when slowing down

my car seems to momentarily shift from second to third when slowing down or at least it feels that way. it doesn’t do it all the time but seems to do it more when it is warm outside. also it seems it does it when the car is idling high.