Researchers say biodiversity compensation works best with long-term recovery, the right landscape setting, and enough land for restoration.