Fixed a search indexing with puppet modules

Previous commit to the same file had a small copy paste error.
Fixed that using ActiveRecord:Concern