Issue #98: Rewrite filter() and children().

Still could be better, though.