Prevent reference properties pointing at literals

Fixes https://www.pivotaltracker.com/story/show/71279532