Fix elasticsearch module import