I found the problem. The code was never able to run “else” because the first “if” was closed at the end rather than earlier