Fixes exception that occurred when the user clicked on the_geom column of the origin table before selecting the destiny table