fixed the depreciation issue with moment.js only accepting iso formatted dates and added in null checks for the date field