fix populateHistory only sync items with associated models