CORE-1756 Indexes with functions not returned correctly in generateChangeLog

Logic was not correctly handling a multi-column function index, like (CODE, UPPER(NAME))