Minor bugfix inside pagelink plugin. (Thnks to  Christoph Marti).