Fix crash when rebuilding SQL cache
Fix crash when rebuilding SQL cache

johnswanson/pypicloud,rubikloud/pypicloud,a-tal/pypicloud,rubikloud/pypicloud,mathcamp/pypicloud,rubikloud/pypicloud,stevearc/pypicloud,mathcamp/pypicloud,johnswanson/pypicloud,a-tal/pypicloud,stevearc/pypicloud,johnswanson/pypicloud,johnswanson/pypicloud,a-tal/pypicloud,mathcamp/pypicloud,stevearc/pypicloud,rubikloud/pypicloud,stevearc/pypicloud,a-tal/pypicloud,mathcamp/pypicloud