Fix #5 (Corrected parsing for if-elseif-else structures)