Bugfix where object got deleted by accident