Further improve performance with disabled modules by excluding non-table names.