Pruning now ignore files with invalid or missing timestamps