Fixed equality check for block statements