Fix erroneous collection selection in Constant @var inheritance