Revert "Bugfix while deleting records (self::getInstance Method not found)"

This reverts commit d01e60a9cf27a3e2ce5b4fc47006669cb11e46e0.