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