reducer last date first date logic changed