Fix for ZfEntity::exchangeArray