Fixes #136; Page history is simply an array. Get the biggest value in
history for previous with array_pop