Shouldn't this line go after the next `if` statement?