Fix error in Date with mongo