Safety check in `relationshipGeneratorPlugin`.

+ Simple check that `$va_items` is actually an array, before calling `array_keys()`.
Merge pull request #159 from leftclickben/RelationshipGeneratorSafetyCheck

Safety check in `relationshipGeneratorPlugin`.