Cache fix: when fieldsCache is empty, the query retrieves the whole document instead of just the _id