lens: sanitize after parenthesis
(cherry picked from commit 066175d148d3e452a21ea7af05d9945a6eba5ab5)
lens: guard against mishaps
(cherry picked from commit b572435bf91e75c0262a83163ced99c72d4fd7f0)