// I believe this to be wrong.
while(theQ->GetTime() > yr[i] && i<27)
foo++;
// If GetTime() == yr[i] then you could run into problems...
// For instance, if HIV testing becomes available in 2004.
// If GetTime() == 01/01/04 then i still thinks it is 2004
// So it will appear as if people are getting HIV tests early, when in fact they are not.
// The index flicks over from 02/01/04 but tracks people on the 1st January getting HIV-tests (small minority)
/* FIX */
while(theQ->GetTime() >= yr[i] && i<27)
foo++;
Testing this fix in WP19 branch: 6d3929e