BUGFIX check if hints are defined for given pagetype before using. Fixes #861
Merge pull request #862 from sheadawson/861-hiddenhints

BUGFIX check if hints are defined for given pagetype before using.