Fix ownerSelect scope leak