Fixing up comparator objects: copy one and rest are const refs to it.