Fixing local data manager querying.