Fixed issue with photo delete.