The rendering of the link happens in an event handler, and the collection's attributes were not getting set properly before the reset event triggering the rendering occurred. Originally reviewed in #4072