Fixing getMissingProjects and getVariableProjects