Hide pages prefix when there are no pages