Fixed bug in deleting unused photos

... and wow, my tests were really not testing what I thought they were
testing :-/
Merge pull request #442 from Skud/destroy_photo_destroyer

Fixed bug in deleting unused photos