Use same SQL query with or w/o changeset/notes table
If changesets or notes are located behind a different connection, the code to get this data diverts. The SQL executed should not divert but be combined through string injection: https://gitlab.gistools.geog.uni-heidelberg.de/giscience/ideal-vgi/osm-element-vectorisation/-/blob/fs_calculation/src/osm_element_vectorisation/fs_calculation/surrounding/calc_surrounding.py#L230-L242