Resolve "Geo: LFS not being synced"

Merged Gabriel Mazetto requested to merge 32696-geo-lfs-not-being-synced into master

What does this MR do?

In a previous refactor we did, one important query condition was lost. This query impacts LFS synchronization of new objects when using FDW queries. In %12.1, we stopped supporting legacy queries and removed them completely. So before %12.1 there was a small chance some users were impacted, but after %12.1 Geo all users were impacted by this mistake.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

The fix was manually tested

Closes #32696 (closed)

Edited by Gabriel Mazetto