VC3002: Duplicate id
Two elements have the same id. Links to #that-id, labels and scripts only find the first.
How to fix
Give each element its own id. Ids built from expressions (id="card-@block.id") and ids in different <if>/<else> branches aren't compared.