With the change made by #912, an exception is thrown when executeQueryToList is called with non-existing coordinates.
This is currently handled in SqlIdCoordinateSource to return an empty optional.
It should be checked whether this is what is wanted or whether this needs to be changed.