Updated CFS greedy search to retain the right number of attributes