A clean E34 M20 with an automatic. Seller describes it as "no slipping,some day no problem,other day up shift to early,like a stuck valve"

I'm going to take a look this week. Does it sound like something that could be resolved with a simple tranny flush, or something more serious?

Much thanks!