Fixed floating point as array index bug
Fixed floating point as array index bug