fixed bug when deleting partial content
Merge pull request #10 from petergledhill/master

fixes bug when deleting partial content