Fix #7: the get_category_by_var_name function is called twice between page_jobs.php and page_category.php