Fix concurrent paramaters update sqlite crash