fix xml document to render elastic_ransack collection