Doctrine 1

refreshRelated() causes an id to be changed from string to int, causing an unnecessary update query.