fixes #4854 always allow to add/remove new trusted hosts, even if there is only one defined in config