Fixed #286: newly added item ignored when returning an other object instance.