Adapted mysql variant of catalog index text manager to accept langid being null