Fixed bugs in HRM leave approval/reject and calendar event creates once
leave is approved.