Ensured that incorrect URIs can not be used for related data.
Fixed a bug where a user could provide an incorrect URI (but with PK data that lines up with the correct data).

This does quicker resolution, but is much more strict than previously working.
Merge branch 'related-resource-fix'