Fixed bug with bogus date data