As an alternative you can use the following commands:

rman> crosscheck archivelog;

rman> delete force noprompt archivelog all;