Fixed reverse date bug