Fixed warnings that occur with Ruby 2.0

Pretty simple fix... just needed to compact the array.