Fixing errors around x/y for negative valued low Y and avro serialization.