Fix a bug that unlinks an already freed page.