Update indexer.rb

Missed log in calculation