Set bound variable only in first match