This fixes a bad data output when prereq prerequireds break

Fix #15463 Fix #15331
Add __run_num__ and __sls__ to prereq failure condition

In addition add some comments to hopefully explain what we are doing