support for nested reference in attributes conditions