Fix tree photo review

Fixes issue #686 on the internal tracker.

We should only review photos that haven't already been deleted.

Also fixes a separate undiscovered bug in the same function, where there was an uncaught exception for more than 10 pages of results.