fixes #4 - fixes tab order when no nodes are found