Adding subtable columns to query causes an error

I have a similar bug report.