Aperture bug: Doesn’t truly delete images

I emptied out a test Library, found still 1.7GB, contained hundreds of images that should have been deleted. Rebuild database indicated Aperture counted them, but they did not reappear. Aperture had major issues when it was discontinued.