avoid reloading fields when existing provider encoding is re-set (fixes #10340)