This fixes the delete method, had some uneeded steps
Merge pull request #413 from AndreiH/fix_delete_method

This fix is for the delete method, had some uneeded steps