Having not touched the code in a while and doing a fresh update of all npm modules, certain modifications had to be made, especially with mongo, to get the dates working again