new entry date logic fix