Fix export comments query