Add ignored nodes
Reorder confusing comment
Do not use parent if contained in item and is a classname