DB/SAI: Some event flag fixes