Fix failling spec due to the elasticsearch formula update