s4:ldb - add a check which has to be done on beginning of a "modify" operation