Fix Reference attribute usage with tables that have alias names.
Merge pull request #383 from BruceCowan-AI/FixAliasedTablesWithReferenceAttribute

Fix Reference attribute usage with tables that have alias names.