Fix TaskChain job splitting when KeepOutput used

@ticoann , this is what we've discussed on Friday (fix for #5450 and #5007):
 1. really fix the if statement (the key was always there, now we check it's not None)
 2. do not use WMBSMergeBySize algo for processing task
I ran another test in my VM and looks good to go. Thanks!