swapped paintings index to historyentries index where it should be