ezsystems/ezpublish-legacy — pull request #925 by yannickroger (2014-04-01 16:29:28+00:00)
Title: Fix EZP-22519: Number of history items regression

Link : https://jira.ez.no/browse/EZP-22519

This PR fixes a small regression introduced in #922 and as you can see in comments, @andrerom was right to be worried :)

## Description
After fixing EZP-22519 the number of maximum items was not respected. It was missing one item because we are doing the check after the creation instead of before.

## Tests
Manual tests