The only purpose of this code is to avoid to delete watcher/add new watcher in case of only numprocesses changed in config. So only check in 'numprocesses' in present in config is enough and more generic.