modify getMergedAlertsBefore method