Allow invalidated archive data to be used until they are re-processed

Added DONE_INVALIDATED flag to archiving and considering it when fetching archives
if not required, let's leave it out as it is hard to understand and maybe risky