I HAVE FIXED THIS BUG.
in inc/parser/metadata.php, replace the current function _headerToLink() with this:
/**
* Creates a linkid from a headline
*
* @param string $title The headline title
* @param boolean $create Create a new unique ID?
* @author Andreas Gohr <
andi@splitbrain.org>
*/
function _headerToLink($title, $create=false) {
return ($create)? sectionID($title, $this->headers): sectionID($title, $n=array());
}