Minor bugfix in newqos penalty for running tasks