Fixed a bug where a detection by self-reporting could occur the day after a detection by positive test result. Checkin includes a test case that fails when the bug is present.