Fixed NPE in RewriteNavigationHandler (#103)