Consider points on the edge of the rectangle as inside
Add regression test for 'gap' querry bug