Deleting photo bug fixed

Now there is now type mismatch in photo deletion