Fixed a bug in issues.

Invited were counted in orals too so I added another filter to make sure
that the MS can be closed.