A query at the REST endpoint for a map service layer published to ArcGIS for Server referencing a feature class from an Oracle database returns all values when both input geometry coordinates are specified and the ReturnDistinctValues option is set to 'true'.