Fixes #5 (multiple kinds in getrelation)