fix for wrong condition checking the Conf.stop_indexing_proc