Fixed dependency scope in es batch