Correct error in scope-tracking with ELSE and ELIF/ELSEIF