Fixing 'undefined' showing up in deployment list names