So the bug was that we were using <li> elements at two different levels of the element hierarchy?
I am *so* glad you found that and we did not have to modify the visibility monitor code.