Improve the exception message when comparing a linked property to another property (unsupported)

Fixes #1286.