Handle the nested page error more gracefully