Issue #2251755 by m1r1k: Get rid of deprecated element_children() function.