Fixes #78; protect searchForm if no page had been set