Fix Permission prev/next test