Fix bug in elasticsearch filter array iterator.