Fix queue URL passing (bug #3543)