Fixed bugs in Monitor/readJsonSnapshot.py (introduced by cleanHistories). Still need to fix same in checkDatasetHistory.py