maintenance: Fix bad method call in RebuildTextIndex