Fixed #1471 - SETting a relationship to a map value fails