Removed code duplication. Minor BoardHistory bug fixed