Did date logic and query for zaves summary