fix remove direct ref
Merge pull request #2 from lemonde/fix-remove-direct-ref

Fix remove when removed node is an entry of the dom property