Improved search for training programs