Checking for invalid Mime types