Show the validation result per classification level
Raise an error when a duplicate photo is found

Also fixed delete cascading.