Fix bug in get_owner().