Incorrect nesting for the glob parsing