Fix broken export of function based indexes. Thanks to Floyd Brown for the report.