Here's the issue visualized:

outside works correctly..


Illustrating not finding a polygon inside another with 0 volume:


Inside working for polygon with volume:


Edge cases working correctly with polys with 0 volume:


again illustrating not finding a poly inside a poly if one has zeo volume: