Fixed brainfart in code.
https://plus.google.com/109282068958987914673/posts/MWQqWWjfmPTo