fix date checking and pass accountIds through for cronstart and end events