<?php

class SomethingDigital_EnterpriseIndexPerf_Model_Changelog extends Enterprise_Index_Model_Changelog
{
    /**
     * Load changelog ids by metadata.
     *
     * This differs from the parent by adding a DISTINCT.
     *
     * @param null|int $currentVersion Version id to stop at.
     * @return int[]
     */
    public function loadByMetadata($currentVersion = null)
    {
        $select = $this->_connection->select()
            ->from(array('changelog' => $this->_metadata->getChangelogName()), array())
            ->where('version_id >= ?', $this->_metadata->getVersionId())
            ->columns(array($this->_metadata->getKeyColumn()))
            ->distinct();

        if ($currentVersion) {
            $select->where('version_id < ?', $currentVersion);
        }

        return $this->_connection->fetchCol($select);
    }
}

<?php

class SomethingDigital_EnterpriseIndexPerf_Model_Changelog extends Enterprise_Index_Model_Changelog
{
    /**
     * Load changelog ids by metadata.
     *
     * This differs from the parent by adding a DISTINCT.
     *
     * @param null|int $currentVersion Version id to stop at.
     * @return int[]
     */
    public function loadByMetadata($currentVersion = null)
    {
        $select = $this->_connection->select()
            ->from(array('changelog' => $this->_metadata->getChangelogName()), array())
            ->where('version_id > ?', $this->_metadata->getVersionId())
            ->columns(array($this->_metadata->getKeyColumn()))
            ->distinct();

        if ($currentVersion) {
            $select->where('version_id <= ?', $currentVersion);
        }

        return $this->_connection->fetchCol($select);
    }
}

Apply changelog versioning fix from 1.14.3.1.
Apply changelog versioning fix from 1.14.3.1.

Had thought this looked wrong, but didn't want to alter behavior.
