Update AbstractContainer.php

In a container can retrieve the first page but not the last.