Fix bug in traversing descendants in mutation observers.