Fix for elasticsearch results