Tweening a rotation, rotating the wrong way sometimes

Hey guys!

I am storing a rotation in degrees, and I am tweening this to animate rotation.
I have a problem with tweening from 0 -> 270 degrees for instance, in which case the object is rotating the longer way around.
It should just count downward through 0 to 360, because that is the shortest path. How can I approach this problem?

I am using the Universal Tween Engine by the way, in case there is a built-in solution.

Thanks in advance.