Added boolean flag MERGE_NEST_CATEGORIES_AGAIN to check for duplicate and nested categories a second time
Added boolean flag STORE_SETTINGS_IN_HASH to store result page settings in the url