Fix: rename + deleteOriginals bug

When multiple documents reference the same static asset, and when options: { rename: true, deleteOriginals: true } is set, only the first document succeeds. The originals are deleted prior to the parsing of subsequent documents, and therefore they are skipped. This pull is a quick fix to this scenario.