Fix [#28], a workaround for undo-tree master bug.

This is just a workaround. I've sent a email to the author of undo-tree,
however, there's no response yet.