Limit the length of history to 10 entries Bug #1