bugfix in immutablemodel with inheritance and delete()