line 82 in the given code is:
IF INGROUP("SASI")


so, the given code is not the same as the erroring one.