DG: Fixed issue 1 - getAllQueues(nil) does not work