Fixed issues in Apply leave flow and monthly leave report