fix named property tables when using real tables
Merge pull request #938 from dimagi/new_casedetails-mwhite

fix named property tables when using real tables