when getting lenses which have been invalidated due to destroyed structure, return undefined rather than throwing TypeError