Bugfix for mapping pages to search terms