Fixed page template handle error on non-templated pages.