Fix a bug in elastic search check for ES version < 0.19
Fix #419