Fixed some query on root node with empty path