Fixed PHP notice when redirect to upgrade wizard