Corrected the way projects and contexts are matched to more closely follow the rules defined at todotxt.com