Repro for the component same name issue with query generation.