Ignore empty nodes when counting position (fix #46)
Merge pull request #55 from enb-make/first-last

Ignore empty nodes when counting position