Fix bug in previous commit

problem with brackets and left unused variable
Merge branch 'slurm-14.11'