Changed dates from strings to real date types