Fix parsing error with imbricated nodes