Fixes problem when setting properties on a relationship
Merge pull request #775 from systay/relpropfix

Fixes problem when setting properties on a relationship