Fixed backbone validation when an object is set.