Fixes #3405 Clearning up the code and fixing the logic so archive.php will process websites properly when executed concurrently!