Check PDF is from the RSC before cleaning

Add a check to prevent false positives for RSC when cleaning PDF's.