Why did you write your if statement with multiple blocks when you could have written it using a single conditional?
Sigiloso
I found it easier to understand the logic when keeping the cases more distinct. I generally strive for code readability over brevity.