Fixed bug in mongo populator where it wouldn't sort when searching for past entries