Please don't use ```$1``` in the middle of a function, especially as you have made the nice effort of having a local variable named ```${NB_REPORT_REQUESTED}``` specifically to hold this value!