Fixes #69

Related: http://stackoverflow.com/q/12502234/2256325
Live version with fix: http://goo.gl/gzQ21Q