Fix for URLResolver not always returning absolute URLs for pages