HistoryView query seems to work now. Nothing gets displayed though atm