public function getComparedRecords()
    {
        if (is_null($this->comparedRecords)
            || !$this->upToDate
        ) {
            $this->comparedRecords = $this->createComparedRecords();
            $this->upToDate = true;
        }

        return $this->comparedRecords;
    }