`has_one` association changes when objects embedding is enabled.

This should not happen since embedded objects serialize class usually will be
different from the object serialize class.

This should fix #464 and #456

Please review.
Thanks.