Update lib/indicators_logic.rb

Fix #4
Merge pull request #16 from cforce/master

Fix for Bug #3