Changed IndexQueryPlanner.configureTransforms to for a for comprehension.