Checks if relationship index exists before creating.
Merge pull request #37 from MattAitchison/relations

Checks if relationship index exists before creating.