Edit create_export_query function

Hi, I was editing the create_export_query of Meeting’s module when I found this problem:
after i edit it into this

When I do an export, it exports only one record.
What could be the problem?
My version of suitecrm is 7.11.7

I solved by adding “meeting.id” so that the join with “meetings_cstm.id_c” goes fine