Fix blank date being converted to today's date