Workaround for bug

This is some trivial workaround for an issue I mentioned on twitter: http://goo.gl/nkvaw

Here is code explaining the problem: http://codepaste.net/u1xrpg