MB-50
update where query to get all intersections