Date selector fix