Fixed set property 'type' of undefined in `if` blockstmt

Fixed set property 'type' of undefined in `if` blockstmt

state.forinifchecks may be empty here
Could you use double quotes here and below?