Fixed nil date issue on forms