Fix miscellaneous Sphinx DB usage

These two codepaths use the Sphinx DB. The table changed.