fix next and prev sibbling + for_all_categories scope