Fix a couple of missing cases in the freeVars function.