Wrapped scope condition in proc.