whenRowsRendered used first(predicate), which errors when the source
completes without a match. The CDK completes renderedRangeStream on
destroy, so closing a guide opened on an empty scope raised an unhandled
EmptyError. Use filter + take(1) instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>