suggested to move this line under the else in the line 356,
cause in the case of STABLE there is no need to set status to UNCHANGED and few lines below to set it to STABLE