When trying to include an ID field as return value from a query with filters its value comes as null.