Fixes for iterating over sibling nodes.