Fixing 'undefined' stages when searching for pipeline / stage