Editing out duff photos