Fix wrong references in case \enabletrackers[structures.referencing.empty] is set