Fixed automatic handling of bpms milestone events