There was bug, but not in this method. I had bug in `_findFirstDomDescendantAfter` method, which not search trought children of not dom children. 

I fixed that and add tests, which ilustrates that this functionality works.