Fix bugimg for reopened bugs
Bugimg showed bugs as closed when they weren't.
This happened when previously proposed and closed
bug (e.g. proposed for beta and solved) was reopened
and proposed again (e.g. for final). Bug sync won't
update bugs in inactive milestones, show CLOSED only
when all bugs with the same bugid have status CLOSED.