New domain mapping update causes redirect loop.

I just tried updating the domain mapping plugin and ran into a problem with wordpress auto canonicalization trying to redirect the www. subdomain into the base domain.

I have Apache set up so most of my domain redirect the base domain into the www. subdomain and this worked fine under the older 3.0.4 version. However when I updated to 3.17 all my domain sudden were caught in a redirect loop when Apache tried to send viewers to the www. domain wordpress would send them back to the base.

Any help with this would be greatly appreciated.

(side note: I use the www. for seo reasons as these site came to us under that subdomain)