sort() i limit() są w złej kolejności; ograniczasz się PRZED swoim sortowaniem wstecz. Zmień go na:
SmallHistory.findOne().sort({ date: -1 }).limit(1).exec((err, data)
sort() i limit() są w złej kolejności; ograniczasz się PRZED swoim sortowaniem wstecz. Zmień go na:
SmallHistory.findOne().sort({ date: -1 }).limit(1).exec((err, data)