Remove reference to non-existent images.