Fix deletion of non media items