Fixed issues for leave policy submit.