fixed comparison of Integer objects