For a collision detection during event.phase == "ended" the event.selfElement and event.otherElement do not resolve. They simply return 0.
This number should be equal to the ones when the collision is at event.phase == "began" This would help notify the program as to what part of the collision ended rather then just knowing a collision ended.
I've tested this on a Windows and Mac build of the simulator. Both return the same result. I'm using 2011.484.
Thank you