Validate media type spoofing only when attachment changed.

It resulted with downloading attachment (i.e. from S3) on each
instance validation even when attachment didn't change at all.