For REST GET requests, filters that are sent in the request body is ignored. Only filters specified in the request URI are considered when constructing the response.
As a result, context.FieldValuePairsInBody is always empty in SqlQueryStructure. So, the code block that iterates through context.FieldValuePairsInBody and populates the predicates can be removed.