Fixed crash when using excludedFields method