Fixes http://forum.fenoxo.com/thread-8591.html