Fixed issues with existing IdIndexFuncs (#23).