Make sure indexes are created. The last db upgrade never recreated the existing indexes