Converted delete statements for performance.
Merge pull request #1 from mattjanssen/master

Replace delete statements with variable = false;