Improve handling of sqlite error code.
Fix crash when user description entity is null.