As of writing this, if the next page cannot be found, the button overrides are destroyed on the current page, which breaks the system.