Handle segment queries that begin within a shape