Workaround for page removal

Only remove the last page in the list. I haven't been able to get all
pages to bind to the list parameter when trying to pass an index
parameter as well.