Fix GTFetchHeadEntriesCallback