Fixes NB#103840, custom settings not properly set