PagePresenter: fixed error when $slug parameter is missing