Try to rebuild indices at startup