Small change to the loading of secondary table in 'selectProgram'