Only remove alerts if they are completed. Typo fix.