Ref #125: Check if node is nil
Ref #125: Refactor line break
Merge pull request #129 from SWTI2014/bug/child-selector

Ref #125: Check if node is nil