Fix brackets usage in attribute refs chain formatter