fixed in-memory max history parameter handling, #ref 78