Fix crash when rebuilding SQL cache
Updating changelog