Fix implicit conversion issue of reference container.