Fix preference insertion on after_create.