simplify the logic of the indexes reset when running with enableMultiThread
correctly set flags default
bound forceResetOnBeginLumi and enableMultiThread together