It could be that operatingWeight is not set for all the values you group over, so (negative) INT_MAX is used in the grouping statement?
operatingWeight