Bugfix for resolving (https://www.pivotaltracker.com/s/projects/386247/stories/68450066)

When resolving nested properties with a common prefix, like:

  linked_events::linked_records
  linked_events::linked_agents

Only one of the nested properties would get resolved.  We were
mistakenly assuming that we wouldn't share prefixes like this.
Merge pull request #767 from hudmol/event-resolving-fix

Bugfix for resolving (https://www.pivotaltracker.com/s/projects/386247/stories/68450066)