ES does not process nan values leading to a failed processing. This fix removes nan values from indexing.