fixed type problem related compile error

It was to do with some problem in the return type of DataField.get, which was a MathComparable[_], but should really have just been a Comparable[_]