filter logic update for filtering leave approval form