Fixed relation Attr functionality