[TASK] Fix false positives with bulk request error detection

The simple strpos() check used does not work, the response contains a
boolean flag named "error", so the check always fired.

Note: this is probably a ES 1.0 change.