fix when a history without materialRevisions