Fixed issue with dates and id being set invalidating the model