Fixed bug getting indexCalcs between two dates that was looking for id =
id, when it should have been id = OHLCid.
Fixing various other java warnings.