fix double processing of completed and canceled events. 

(for anty multiple responses from payu, events should be processed only when database status is different)