Minor bug in GM function (PDBnet).