Fix bug where inline image attachemnts where we no longer have access to original image continue to be included in the html