This commit fixes the bug reported in the lean discussion list: https://groups.google.com/forum/#!topic/lean-discuss/oyzgIqdMyNc