Better safe guarding against bad values in d.relate