Fix potential issue with SQL arguments.
Connectivity widget got an AND/OR select for intersections.