Bugfix for the problems related to eager loading associations and subsequent saving of DAO instances

no extra test written (yet), but here is a proof of concept fix for the problems outlined in #715