Checking if decreasing running jobs (active cores) sets it to negative value, zero if so
I have seen negative values in the running column and i´m not certain why that is, but i suspect that some value passed into this method causes it. Therefore i wanted to set running to 0 instead of negative value
Please consider if this is how we should solve it or perhaps the input value to the function is wrong in one of the instances where it is called.