Fixed wrong token getting replaced in backref