Fix obtained from http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000752.html http://www.bioinformatics.org/pipermail/ghemical-devel/2008-July/000742.html . Spotted by: pav