Fix fillByCard to use casePrograms #186