Add patched to bugsummary type + update tests

Apologies for not catching these two problems in my original branch.  The first commit is necessary to put patched bug counts into the index and the second is necessary for tests to pass again.