Fixed bug #4520 - File history set to unlimited would remove all but the latest history entry.