Remove logging
Safer parentId checks
Check for illegal parentId on update
rebuildHierarchy function
Fix through table behaviour
Update readme