Alters method to find first node

Finds accessibility node if selected node is null.

Fixed #369