Minor bug fix.
No longer needed.
First version of elasticsearch template.