disabled_queries configuration fix