Fix an ambiguity in component parsing