Fixed percolate for elasticsearch 1.0.0rc1