2442: Avoid SQL error when Sphinx and MySQL are out of sync
2442: Avoid SQL error when Sphinx and MySQL are out of sync

Fix ported from release-4.16 branch

thecartercenter/elmo,thecartercenter/elmo,thecartercenter/elmo