Fix DataReference so that it does not call itself forever.