Fixed EntityIndexingStrategy when non entity is given.
Merge pull request #9 from beregond/strategy

Fixed EntityIndexingStrategy when non entity is given.