Invalidate a command history saving function on older versions.