Fixed bug in settings: error when searching for undefined validation function