Fix indentation level parsing for if statements