I think line 15 fixes the problem and it will never get to the "else" branch here...