Fix call to es refresh