Refine find node functions