Correct the owner of leaves no being put in the database.