Some changes to adaptive open-page logic